package com.badboy.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @TableName posts
 */
@Data
public class Posts implements Serializable {
    private Integer postId;

    private String title;

    private String content;

    private Integer userId;

    private Integer forumId;

    private Date createdAt;

    private Integer views;

    private Integer isPinned;

    private Integer isDeleted;

    // 联表查询新增字段
    private String username;

    private static final long serialVersionUID = 1L;
}